TestGraphAddTag

 

½Ç½Ã°£ Å×½ºÆ® ±×·¡ÇÁ¿¡ ÇϳªÀÇ Å±׸¦ ±×·¡ÇÁ ¸â¹ö·Î Ãß°¡ÇÑ´Ù.

 

void @TestGraphAddTag(string class_name, string tag, long color, int value_type, int point_type, int line_thick, int axis_pos, int level_from, int level_to, int tag_disp_size, int reverse_y);

 

ÇÔ¼öÀÎÀÚ

string class_name : ¸ÖƼƮ·£µåÀÇ ¿ÀºêÁ§Æ® °íÀ¯ À̸§

string tag : ű׸í (AI or DI)

long color : ±×·¡ÇÁ ¿ä¼Ò »ö»ó (@RGB ÇÔ¼ö »ç¿ë)

int value_type : ±×·¡ÇÁ Ç¥½Ã°ª (0-Æò±Õ°ª, 1-ÃÖ¼Ò°ª, 2-ÃÖ´ë°ª, 3-Àû»ê°ª, 4-Â÷ÀÌ°ª, 5-¼ø½Ã°ª)

int point_type : ±×·¡ÇÁ ¿ä¼ÒÀÇ Á¡ Á¾·ù (0-¾øÀ½, 1-»ç°¢Çü, 2-¿øÇü, 3-»ï°¢Çü, 4-¸¶¸§¸ð, 5-XÇ¥½Ã, 6-+Ç¥½Ã, 7-*Ç¥½Ã)

int line_thick : ±×·¡ÇÁ ¿ä¼ÒÀÇ ¼±±½±â

int axis_pos : ´«±ÝÀ§Ä¡ (0-»ç¿ë¾ÈÇÔ, 1-¿ÞÂÊ, 2-¿À¸¥ÂÊ)

int level_from : ´«±Ý Ç¥½Ã ½ÃÀÛÀ§Ä¡(%)

int level_to : ´«±Ý Ç¥½Ã ³¡À§Ä¡(%)

int tag_disp_size : ű׸í Ç¥½Ã Å©±â

int reverse_y : »ç¿ë¾ÈÇÔ

 

¹Ýȯ °ª

¹Ýȯ°ªÀº ¾ø´Ù.

 

¿¹Á¦

@TestGraphClear("TestGraph1");

@TestGraphAddTag("TestGraph1", "AI_0000", @RGB(255,0,0), 0, 0, 1, 1, 0, 100, 20, 0);

@TestGraphAddTag("TestGraph1", "AI_0001", @RGB(0,255,0), 0, 0, 1, 2, 0, 100, 20, 0);

@TestGraphAddTag("TestGraph1", "AI_0002", @RGB(0,0,255), 0, 0, 1, 2, 0, 100, 20, 0);

 

¹®Àå¼³¸í : RealTimeTestGraph1 ¿ÀºêÁ§Æ®ÀÇ ¸ðµç ű׸â¹ö¸¦ »èÁ¦ÇÏ°í AI_0000, AI_0001, AI_0002 ű׸¦ ¸â¹ö·Î Ãß°¡ÇÑ´Ù.

 

°ü·ÃÇ׸ñ

@TestGraphAddTag()

@TestGraphBasisGraphAdd()

@TestGraphBasisGraphClear()

@TestGraphBasisGraphTagAdd()

@TestGraphBasisGraphTagClear()

@TestGraphClear()

@TestGraphClearData()

@TestGraphGetValue()

@TestGraphRun()

@TestGraphSetData()

@TestGraphSetDataSize()

@TestGraphSetMilliLast()

@TestGraphSetValue()

@TestGraphStop()